// 导入封装的axios
import axios from "../utils/http";
// 导入封装的接口地址
import * as baseURL from "../api/url";

export const allUser =(data)=>{
    return axios({
        url: baseURL.allUser_url,
        method: "post",
        data,
    });
};
export const addUser =(data)=>{
    return axios({
        url: baseURL.addUser_url,
        method: "post",
        data,
    });
};
export const queryByName =(params)=>{
    return axios({
        url: baseURL.queryByName_url,
        method: "post",
        params,
    });
};
